def compare_list(the_list):
    for letter in the_list:
            l = sorted(letter)
            print(l)


keyborad = ['sadgyumber']
compare_list(keyborad)
